import maya.cmds as mc

import tools_Persional.LZ_Tools.LZ_Tools.LZ_muscle_simulations as LZ_muscle_simulations
reload(LZ_muscle_simulations)


class LZ_muscle_UI(LZ_muscle_simulations.LZ_muscle_UI
                   
                   ):
    def __init__(self):
        pass
        
        
    def LZ_muscle_UI(self):
        
        LZ_muscle_UI = 'LZ_muscle_simulations_UI'
        if mc.window(LZ_muscle_UI,ex = True):
            mc.deleteUI(LZ_muscle_UI)

        mc.window( LZ_muscle_UI ,widthHeight=(300, 200),t = LZ_muscle_UI,menuBar = True,rtf=True,s=True)
        
        self.mainForm = mc.formLayout()
        
        self.startMuscle_layout = mc.formLayout()
        self.startMuscle_layout = mc.formLayout()
        
        self.b1 = mc.button('b1')
        self.b2 = mc.button('b2')
        
        
        mc.formLayout(self.mainForm, e=True, af=(self.startMuscle_layout, 'top', 10) )
        mc.formLayout(self.mainForm, e=True, af=(self.startMuscle_layout, 'left', 30) )
        mc.formLayout(self.mainForm, e=True, af=(self.startMuscle_layout, 'right', 210) )

        
        mc.formLayout(self.mainForm, e=True, af=(self.b2, 'top', 10))
        mc.formLayout(self.mainForm, e=True, af=(self.b2, 'left', 150))
        mc.formLayout(self.mainForm, e=True, af=(self.b2, 'right', 80))
        
        mc.showWindow()